 package com.lj.mcore.entity;


 import com.lj.mcore.domain.IdEntity;
 import jakarta.persistence.*;

 @Entity
 @Table(name="shopping_integrallog")
 public class IntegralLog extends IdEntity
 {
 
   @ManyToOne(fetch= FetchType.LAZY)
   private User integral_user;
 
   @ManyToOne(fetch=FetchType.LAZY)
   private User operate_user;
   private int integral;
   private String type;
 
   @Lob
   @Column(columnDefinition="LongText")
   private String content;
 
   public String getContent()
   {
     return this.content;
   }
 
   public void setContent(String content) {
     this.content = content;
   }
 
   public User getIntegral_user() {
     return this.integral_user;
   }
 
   public void setIntegral_user(User integral_user) {
     this.integral_user = integral_user;
   }
 
   public User getOperate_user() {
     return this.operate_user;
   }
 
   public void setOperate_user(User operate_user) {
     this.operate_user = operate_user;
   }
 
   public int getIntegral() {
     return this.integral;
   }
 
   public void setIntegral(int integral) {
     this.integral = integral;
   }
 
   public String getType() {
     return this.type;
   }
 
   public void setType(String type) {
     this.type = type;
   }
 }



 
 